package com.sdjzu.wangfuying.disableautobrightness;


import android.preference.PreferenceManager;

import com.baidu.mobstat.StatService;

public class Application extends android.app.Application {

    @Override
    public void onCreate() {
        super.onCreate();

        if (PreferenceManager.getDefaultSharedPreferences(this)
                .getBoolean("pref_setting_key_disable_mtj", false)) {
            StatService.autoTrace(this, false, false);
        }
    }

}
